package com.blockmeta.bbs.minemodule.pojo;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * @author AirThor
 * @date 2018/10/22.
 */
public class CoinCenterPOJO {

    /**
     * gold : 888
     * sign_days : 2
     * banner : [{"icon_url":"https://cdn.8btc.com/wp-content/uploads/2018/10/201810201613143917.jpg","link":"mock"},{"icon_url":"https://cdn.8btc.com/wp-content/uploads/2018/10/201810201613346616.png","link":"mock"}]
     * tasks : [{"type":"活动任务","list":[{"content":"邀请好友注册（5/50）","award":50,"link":"blockmeta://invite","done":false}]}]
     */

    @SerializedName("gold")
    public int gold;
    @SerializedName("sign")
    public SignBean mSignBean;
    @SerializedName("banner")
    public List<BannerBean> banner;
    @SerializedName("tasks")
    public List<TasksBean> tasks;

    public static class SignBean{
        @SerializedName("sign_days")
        public int signDays;
        @SerializedName("sign_today")
        public boolean signToday;

    }
    public static class BannerBean {
        /**
         * icon_url : https://cdn.8btc.com/wp-content/uploads/2018/10/201810201613143917.jpg
         * link : mock
         */

        @SerializedName("icon_url")
        public String iconUrl;
        @SerializedName("link")
        public String link;
    }

    public static class TasksBean {
        /**
         * type : 活动任务
         * list : [{"content":"邀请好友注册（5/50）","award":50,"link":"blockmeta://invite","done":false}]
         */

        @SerializedName("type")
        public String type;
        @SerializedName("list")
        public List<ListBean> list;

        public static class ListBean {
            /**
             * content : 邀请好友注册（5/50）
             * award : 50
             * link : blockmeta://invite
             * done : false
             */

            @SerializedName("content")
            public String content;
            @SerializedName("award")
            public int award;
            @SerializedName("link")
            public String link;
            @SerializedName("done")
            public boolean done;
        }
    }
}
